package com.example.java_gobang;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;

//application.yml文件中没有指定数据库的配置，url,driver这些东西要
//加上(exclude= {DataSourceAutoConfiguration.class}),如果有的话就要去掉
@SpringBootApplication(exclude = {org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class})
public class JavaGobangApplication {
	public static ConfigurableApplicationContext context;
	public static void main(String[] args) {
	context=SpringApplication.run(JavaGobangApplication.class, args);
	}

}
